package com.guigu.pd.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 司机表
 *
 * @author deyran
 * @email deyran@gmail.com
 * @date 2022-07-19 19:09:01
 */
@Data
@TableName("pd_truck_driver")
@AllArgsConstructor
@NoArgsConstructor
public class TruckDriverEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private String id;
	/**
	 * 用户id，来自用户表
	 */
	private String userId;


	/**
	 * 司机名称
	 */
	@TableField(exist=false)
	private String name;

	@TableField(exist = false)
	private String phone;
	/**
	 * 所属车队id
	 */
	private String fleetId;

	/**
	 * 所属车队名称
	 */
	@TableField(exist=false)
	private String fleetname;


	/**
	 * 司机所属机构（组织）
	 */
	@TableField(exist=false)
	private  String coreOrgname;


	/**
	 * 年龄
	 */
	private Integer age;
	/**
	 * 图片
	 */
	private String picture;
	/**
	 * 驾龄
	 */
	private Integer drivingAge;

	/**
	 * 驾驶证信息
	 */
	@TableField(exist = false)
	private TruckDriverLicenseEntity truckDriverLicense;

	/**
	 * 所属线路
	 */
	@TableField(exist = false)
	private String tripstruckNumber;




	public TruckDriverEntity(String userId, String fleetid) {

	}
}
